<!-- Begin Sidebar Left -->
<?php echo $this->element('user/sidebar-left');?>
<!-- End Sidebar Left -->

<!-- Begin Content right -->
<div class="col-md-9 right">
<div class="panel panel-fix">
	<div class="panel-heading"> <h3 class="panel-title"><span class="glyphicon glyphicon-fire"></span> <?= __('Danh sách tin tức') ?></h3> </div>
	<div class="panel-body"> <!-- panel-bod -->

		<div class="news full  clearfix">
			<?php if(!empty($news['CompanyNew']['image'])):?> <img class="news-img" src="<?= PUBLIC_THUMB_SHOW.$news['CompanyNew']['image']; ?>" /> <?php endif;?>
			<h4 class="news-title"><?= $news['CompanyNew']['title']?></h4>
			<div class="clearfix"></div>
			<?=  $news['CompanyNew']['desc'] ?>
		</div>

		<?php if(count($items) > 0):?>
		<h4><?= __('Tin tức khác') ?></h4>
		<?php foreach($items as $item):?>
			<div class="news  clearfix">
				<a href="<?= $this->webroot . trim($item['CompanyNew']['als']).'-n'.$item['CompanyNew']['id'] . $ext ?>" >
					<?php if(!empty($item['CompanyNew']['image'])):?> <img class="news-img" src="<?= PUBLIC_THUMB_SHOW.$item['CompanyNew']['image']; ?>" /> <?php endif;?>
					<h4 class="news-title"><?= $item['CompanyNew']['title']?></h4>
				</a>

				<?=  $item['CompanyNew']['desc'] ?>
			</div>
			<?php endforeach; ?>

			<?php $params = $this->Paginator->params(); if($params['pageCount'] > 1) :?>
				<div class="clearfix"></div>
				<?php echo $this->element('paging'); ?>
			<?php endif; ?>

		<?php endif; ?>

	</div><!-- End panel-body	-->
</div>
</div>